AmeliaBooking\Application\Services\Booking\AppointmentApplicationService D

Total Complexity 273
Dependencies 30
Dependents 0
Total lines 1,758
Lines of code 1,034
Logical lines of code 456
Comment lines 387
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
addOrEditAppointment()
D
28
35 127
update()
D
29
31 122
bookingDetailsChanged()
B
41 23 52
getAlreadyBookedAppointment()
B
40 22 50
getUserConnectionChanges()
A
44 16 43
getBookingPriceForService()
A
48 14 33
manageAppointmentStatusByBooking()
A
41 12 60
add()
A
38 11 71
processPackageAppointmentBooking()
A
45 12 43
delete()
A
52 12 25
isAppointmentStatusChangedWithBooking()
A
43 7 51
removeBookingFromGroupAppointment()
A
40 5 66
getMaximumBookingDuration()
A
57 8 17
canBeBooked()
S
49 7 29
getBookingLengthTime()
S
59 7 13
approveBooking()
S
45 5 42
build()
S
50 5 27
getAppointmentLengthTime()
S
58 5 16
isPersonPricingType()
S
61 5 13
appointmentDetailsChanged()
S
62 5 12
isDurationPricingType()
S
61 5 12
manageDeletionParentRecurringAppointment()
S
57 4 17
getAppointmentEntitiesIdsBySearchString()
S
52 3 26
removeBookingFromNonGroupAppointment()
S
52 3 25
convertTime()
S
62 3 12
getAppointmentBooking()
S
67 3 8
isAppointmentRescheduled()
S
68 2 7
__construct()
S
81 1 3
isAppointmentStatusChanged()
S
79 1 3
calculateAndSetAppointmentEnd()
S
66 1 9